package com.haoyeteng.sxbd.modular.business.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 坐标转换文件表
 * </p>
 *
 * @author haoyeteng123
 * @since 2019-10-27
 */
@TableName("bus_zbzh_file")
public class ZbzhFile extends Model<ZbzhFile> {

    private static final long serialVersionUID = 1L;

    /**
     * 文件Id 自行输入
     */
    @TableId(value = "file_id",type = IdType.INPUT)
    private String fileId;
    /**
     * 文件名
     */
    @TableField("file_name")
    private String fileName;
    /**
     * 文件大小
     */
    @TableField("file_size")
    private Float fileSize;
    /**
     * 源椭球
     */
    @TableField("source_ellipsoid")
    private String sourceEllipsoid;
    /**
     * 源坐标
     */
    @TableField("source_coordinates")
    private String sourceCoordinates;
    /**
     * 目标椭球
     */
    @TableField("target_ellipsoid")
    private String targetEllipsoid;
    /**
     * 目标坐标
     */
    @TableField("target_coordinates")
    private String targetCoordinates;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 删除标记
     */
    private Integer flag;


    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Float getFileSize() {
        return fileSize;
    }

    public void setFileSize(Float fileSize) {
        this.fileSize = fileSize;
    }

    public String getSourceEllipsoid() {
        return sourceEllipsoid;
    }

    public void setSourceEllipsoid(String sourceEllipsoid) {
        this.sourceEllipsoid = sourceEllipsoid;
    }

    public String getSourceCoordinates() {
        return sourceCoordinates;
    }

    public void setSourceCoordinates(String sourceCoordinates) {
        this.sourceCoordinates = sourceCoordinates;
    }

    public String getTargetEllipsoid() {
        return targetEllipsoid;
    }

    public void setTargetEllipsoid(String targetEllipsoid) {
        this.targetEllipsoid = targetEllipsoid;
    }

    public String getTargetCoordinates() {
        return targetCoordinates;
    }

    public void setTargetCoordinates(String targetCoordinates) {
        this.targetCoordinates = targetCoordinates;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    protected Serializable pkVal() {
        return this.fileId;
    }

    @Override
    public String toString() {
        return "ZbzhFile{" +
        "fileId=" + fileId +
        ", fileName=" + fileName +
        ", fileSize=" + fileSize +
        ", sourceEllipsoid=" + sourceEllipsoid +
        ", sourceCoordinates=" + sourceCoordinates +
        ", targetEllipsoid=" + targetEllipsoid +
        ", targetCoordinates=" + targetCoordinates +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", flag=" + flag +
        "}";
    }
}
